[asterisk-users] modifying the INVITE headers
Hello, Here in Spain there is a VoIP provider (Telefonica) that only works if when you make an outgoing call, the SIP headers are like this: INVITE sip:phonenumber@telefonica.net SIP/2.0 But Asterisk is sending this: INVITE sip:phonenumber@sbc.ngn.rima-tde.net SIP/2.0 because sbc.ngn.rima-tde.net is the register host. My config is this: sip.conf: - [EMAIL PROTECTED]:password@telip [telip] username=828xx type=peer port=5070 secret=password realm=telefonica.net host=sbc.ngn.rima-tde.net fromuser=828xx fromdomain=telefonica.net dtmfmode=rfc2833 [EMAIL PROTECTED] - It's possible to change the INVITE headers to put the correct host? Thanks. -- Paco Brufal[EMAIL PROTECTED] ServiTux Servicios Informáticos S.L. Tel. 966 160 600 / Fax. 966 160 601 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] modifying the INVITE headers
On 09/11/06 18:36 Paco Brufal said the following: Hello, Here in Spain there is a VoIP provider (Telefonica) that only works if when you make an outgoing call, the SIP headers are like this: INVITE sip:phonenumber@telefonica.net SIP/2.0 But Asterisk is sending this: INVITE sip:phonenumber@sbc.ngn.rima-tde.net SIP/2.0 because sbc.ngn.rima-tde.net is the register host. My config is this: try adding fromdomain=telefonica.net in the config for that peer. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0) http://www.openmalaysiablog.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] modifying the INVITE headers
On 11/sep/2006, Dinesh Nair wrote: try adding fromdomain=telefonica.net in the config for that peer. I have it, but doesn't works... :? I have a sniffer and I see: INVITE sip:telephonenumber@sbc.ngn.rima-tde.net SIP/2.0 but with the softphone that the telco distributes, I see: INVITE sip:telephonenumber@telefonica.net SIP/2.0 I can receive calls, but not make outgoing calls. My config is: --- [EMAIL PROTECTED]:password@telip [telip] username=828xx type=peer port=5070 secret=password realm=telefonica.net host=sbc.ngn.rima-tde.net fromuser=828xx fromdomain=telefonica.net dtmfmode=rfc2833 [EMAIL PROTECTED] --- Thanks. -- Paco Brufal[EMAIL PROTECTED] ServiTux Servicios Informáticos S.L. Tel. 966 160 600 / Fax. 966 160 601 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users