Skip to main content

Creating a new trunk change Call ID source record

Posted by sardinha on Fri, 11/06/2009

An inbound route has a different Call ID record that is equal to the last trunk created. And is happening with all inbound routes.

DID of inbound route: 211452662
Inbound Route: _21145266X
Last trunk created: 211452692

CLI:


-- Executing [211452662@from-outside:2] Set("SIP/211452692-098b4f28", "__INCOMINGCLI=211452692") in new stack
-- Executing [211452662@from-outside:3] Goto("SIP/211452692-098b4f28", "from-outside-redir|211452662|1") in new stack
-- Goto (from-outside-redir,211452662,1)
-- Executing [211452662@from-outside-redir:1] Set("SIP/211452692-098b4f28", "DIALED_PUBLIC_NUMBER=211452662") in new stack
-- Executing [211452662@from-outside-redir:2] Set("SIP/211452692-098b4f28", "DIALED_NUMBER=211452662") in new stack
-- Executing [211452662@from-outside-redir:3] GotoIfTime("SIP/211452692-098b4f28", "*|*|*|*?from-outside-_21145266X-tl-allhours|211452662|1") in new stack
-- Goto (from-outside-_21145266X-tl-allhours,211452662,1)
...


Submitted by sardinha on Mon, 11/09/2009 Permalink

sip.conf :


[general]
...
register => 211452662:***@ip.provider.pt/211452662 ; 211452662
register => 211452692:***@ip.provider.pt/211452692 ; 211452692
...

[211452662]
qualify=yes
nat=yes
callerid=211452662
context=from-outside
insecure=very
canreinvite=yes
fromuser=211452662
fromdomain=ip.provider.pt
secret=***
;=description=211452662
username=211452662
host=ip.provider.pt
dtmfmode=rfc2833
type=peer
disallow=all
allow=ulaw
allow=alaw

[211452692]
qualify=yes
nat=yes
callerid=211452692
context=from-outside
insecure=very
canreinvite=yes
fromuser=211452692
fromdomain=ip.provider.pt
secret=***
;=description=211452692
username=211452692
host=ip.provider.pt
dtmfmode=rfc2833
type=friend
disallow=all
allow=ulaw
allow=alaw

Submitted by eeman on Mon, 11/09/2009 Permalink

this is your problem:

callerid=211452662

and

callerid=211452692

remove it

you dont override inbound callerid on a trunk