SIP Trunks Going To The Wrong Context

Home » Asterisk Users » SIP Trunks Going To The Wrong Context
Asterisk Users 2 Comments

Hi all,

I’m trying to resolve a weird issue with SIP routing.

I have a number of SIP trunks, from a selection of providers, all of which are registered in sip.conf:

[general]
context

2 thoughts on - SIP Trunks Going To The Wrong Context

  • I don’t know if it applies to your problem, but I also had some troubles with multiple account on same SIP provider.

  • That is what I do – all my incoming calls (which originate from the same IP and Port) go into a single context in extensions.conf, from where they are directed into individual call handlers depending on the DCID

    [incoming calls]

    exten => 44********20,n,Goto(handler-a,s,1)
    exten => 44********00,n,Goto(handler-b,s,1)
    exten => 44********21,n,Goto(handlet-c,s,1)
    exten => 44********22,n,Goto(handler d,s,1)