Page 1 of 1

change invite string

PostPosted: Fri Jun 19, 2015 12:36 pm
by Iz3k34l
where is the file i look for to change the invite string

Re: change invite string

PostPosted: Fri Jun 19, 2015 10:02 pm
by williamconley
1) It's not a file. It's more likely a dialpan entry or account entry for the carrier. But ...

2) It would be necessary to know how (and why) you need to change the invite string to answer this question in any meaningful way.

Re: change invite string

PostPosted: Mon Jun 22, 2015 8:46 am
by Iz3k34l
I am trying to set up a new carrier entry because the provider is moving us to a new machine and they are saying they want me to change the way the invite reads. It shows;

Code: Select all
Contact: <sip:private@xx.xx.xx.xx:57887>

They want me to force the contact port to 5060

Re: change invite string

PostPosted: Mon Jun 22, 2015 5:44 pm
by williamconley
/etc/asterisk/sip.conf should already have an entry for:
Code: Select all
[general]
bindport=5060
Unless you've changed it to something else ...?

Post your Admin->carrier "account entry" field and we'll see if you have a conflicting entry there. But each carrier could have "port = 5060" as well.

Re: change invite string

PostPosted: Tue Jun 23, 2015 10:24 am
by Iz3k34l
Yes thats what is in the sip.conf file, the account entry is as follows;

Code: Select all
[intelepeer]
disallow=all
allow=g729
allow=ulaw
type=friend
host=68.68.xxx.xx
dtmfmode=rfc2833
context=trunkinbound
nat=yes

Re: change invite string

PostPosted: Thu Jun 25, 2015 9:08 pm
by williamconley
If this is for inbound calls, they may be requesting that you open port 5060 by forwarding it to your dialer.

If this is for outbound, I'd have to check the deeper asterisk core for how to lie to the server and put port 5060 in the outbound message instead of the true rtp port assigned by your router. Note that if you pass port 5060 there, instead of the rtp port assigned by your router, the reply will likely arrive on port 5060 and be dropped by your router UNLESS you forward port 5060 to your dialer. FYI. 8-)

My advice would be to ask them what the configuration parameter is for asterisk that they want configured. Seems a little fishy, and possible that they are simply not communicating what they really need properly. Since it's not "standard" they should have an example configuration entry available to give to clients using asterisk (unless they are truly tiny and have no asterisk clients?).

In any event, your best bet for a response to this may be on an asterisk forum, as this Vicidial forum is tiny by comparison. Asterisk is HUGE and has many forums with detailed experts in the idiosyncratic bits inside of Asterisk 8-)