port for inbound calls
Added by Anton Satskiy almost 4 years ago
Hi there
quick question
if
Kamailio 5060
Asterisk 5070
where SIP provider should send calls?
Replies (4)
RE: port for inbound calls
-
Added by Anton Satskiy almost 4 years ago
another question
if i need this dial plan in trunk section
exten => _123456.,1,AGI
exten => _123456.,2,SIPAddHeader(Diversion:<sip:NUMBER@TRUNK>\;user=phone\;privacy=off\;reason=unconditional)
exten => _123456.,3,Dial(SIP/+${EXTEN:6}@TRUNK,,tTo)
exten => _123456.,4,Hangup
what should i write in Carrier settings
because ';' web interface think that it is a comment
RE: port for inbound calls
-
Added by Demian Biscocho almost 4 years ago
SIP provider should send to Asterisk 5070 (You should whitelist via Iptables the IP address allowed to connect to 5070).
Try writing your custom dialplan entries in /etc/asterisk/extensions-goautodial.conf.
RE: port for inbound calls
-
Added by Anton Satskiy almost 4 years ago
Demian Lizandro Biscocho wrote in RE: port for inbound calls:
SIP provider should send to Asterisk 5070 (You should whitelist via Iptables the IP address allowed to connect to 5070).
Try writing your custom dialplan entries in /etc/asterisk/extensions-goautodial.conf.
thanks form reply
i will try
have a great day
RE: port for inbound calls
-
Added by Florence Pugh almost 2 years ago
Anton Satskiy wrote in RE: port for inbound calls:
another question
if i need this dial plan in trunk sectionexten => _123456.,1,AGI
exten => _123456.,2,SIPAddHeader(Diversion:<sip:NUMBER@TRUNK>\;user=phone\;privacy=off\;reason=unconditional)
exten => _123456.,3,Dial(SIP/+${EXTEN:6}@TRUNK,,tTo)
exten => _123456.,4,Hangupwhat should i write in Carrier settings
because ';' web interface think that it is a comment
You can try using the backslash () character before each semicolon (;) to escape it, like this:
exten => _123456.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _123456.,2,SIPAddHeader(Diversion:<sip:NUMBER@TRUNK>\;user=phone\\;privacy=off\\;reason=unconditional)
exten => _123456.,3,Dial(SIP/+${EXTEN:6}@TRUNK,,tTo)
exten => _123456.,4,Hangup
This should allow the semicolons to be interpreted as part of the string instead of a comment.