[asterisk-users] modifying the INVITE headers

Dinesh Nair dinesh at alphaque.com
Mon Sep 11 04:41:25 MST 2006



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."
dinesh at alphaque.com                (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                                                              |
+=========================================================================+


More information about the asterisk-users mailing list