mailinglists
2009-Jan-11 12:06 UTC
[asterisk-users] chan_sip on non-standard port 5062 - contact has no port
Hi all! Am I missing some configuration or is it simply a bug: If Asterisk chan_sip is configured with bindport=5062, the port is missing on the outgoing SIP messages contact header. This resulting in in-dialog messages sent to port 5060 ... where there is no Asterisk on that host... Tried externip = 1.2.3.4:5062 with no success. Version 1.6.0.3. br Walter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090111/a0f16c07/attachment.htm
Chris Mason (Lists)
2009-Jan-11 13:46 UTC
[asterisk-users] chan_sip on non-standard port 5062 - contact has no port
You are configuring Asterisk to LISTEN on 5062 , if you want it to talk to another server on 5062, then configure that server's config stanza accordingly. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
NeoTel Lists
2009-Jan-11 14:21 UTC
[asterisk-users] chan_sip on non-standard port 5062 - contact has no port
Yes, I configure it to _listen_ on port 5062 and the Asterisk should registring _that_ address on the Registrar. So it should register <sip:ext at ip:port> not <sip:ext at ip> (which is <sip:ext at ip:5060> And it is doing that not only on registers, but also on INVITEs. Follwoing RFC3261, in-dialog messages are sent to the adjacent contact - but if that's wrong in the first place, the server (btw: what do you mean with server?) can't do anything. It would have been told to send it to the wrong port. Following that, I would have also configured him to _listen_ on IPx, so it must not send some other IP in the contact :-) Br Walter -----Urspr?ngliche Nachricht----- Von: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Chris Mason (Lists) Gesendet: Sonntag, 11. J?nner 2009 14:46 An: Asterisk Users Mailing List - Non-Commercial Discussion Betreff: Re: [asterisk-users] chan_sip on non-standard port 5062 - contact has no port You are configuring Asterisk to LISTEN on 5062 , if you want it to talk to another server on 5062, then configure that server's config stanza accordingly. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Klaus Darilion
2009-Jan-12 10:36 UTC
[asterisk-users] chan_sip on non-standard port 5062 - contact has no port
I use Asterisk 1.4.22 without problems: Contact: <sip:+43720123456789 at 1.2.3.4:5160> regards klaus mailinglists schrieb:> Hi all! > > Am I missing some configuration or is it simply a bug: If > Asterisk chan_sip is configured with bindport=5062, the port is missing > on the outgoing SIP messages contact header. > This resulting in in-dialog messages sent to port 5060 ... where there > is no Asterisk on that host... > > Tried externip = 1.2.3.4:5062 with no success. > > Version 1.6.0.3. > > br > Walter > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Klaus Darilion
2009-Jan-12 10:37 UTC
[asterisk-users] chan_sip on non-standard port 5062 - contact has no port
open a bug report mailinglists schrieb:> Hi all! > > Am I missing some configuration or is it simply a bug: If > Asterisk chan_sip is configured with bindport=5062, the port is missing > on the outgoing SIP messages contact header. > This resulting in in-dialog messages sent to port 5060 ... where there > is no Asterisk on that host... > > Tried externip = 1.2.3.4:5062 with no success. > > Version 1.6.0.3. > > br > Walter > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users