Alexandre Rodrigues
2010-Jun-01 17:51 UTC
[asterisk-users] Caller id, sip header from problem
Hello all, My pbx server is connected to a sip gateway, when I call an originate command from the asterisk console, to establish a sip connection, the gateway doesn't accept URL with white spaces, for example: * Via: SIP/2.0/UDP 10.10.1.10:5060;branch=z9hG4bK387d772e;rport * * From: "PBX SERVER" <sip:PBX SERVER at 10.10.1.10>;tag=as2512881b * * To: <sip:927817839 at 10.10.1.250:5060>;tag=2615730116 * * Contact: <sip:PBX SERVER at 10.10.1.10> * * Call-ID: 454df9c904486e7647231af102a05b34 at 10.10.1.10 * * CSeq: 102 ACK* * Max-Forwards: 70* The sip gateway will respond with the following message: *SIP/2.0 400 Bad Request * * Via: SIP/2.0/UDP 10.10.1.10:5060;branch=z9hG4bK387d772e;rport * * From: "PBX SERVER" <sip:PBX SERVER at 10.10.1.10>;tag=as2512881b * * To: <sip:927817839 at 10.10.1.250:5060>;tag=2615730116 * * Call-ID: 454df9c904486e7647231af102a05b34 at 10.10.1.10 * * CSeq: 102 INVITE * * Content-Type: text/plain * * Content-Length: 23 * The "PBX SERVER" name is set in the sip.conf in the callerid parameter. Question: Is it possible, without trimming the callerid parameter, to set some type of variable in asterisk to trim automatically. Thanks in advance, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100601/01294399/attachment.htm
Apparently Analagous Threads
- strange caller display
- problem with setting outbound caller id when calling another asterisk
- Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.
- Asterisk 13.1.0/PJSIP outbound calling using SIP trunk: Unable to create request with auth.No auth credentials for any realms in challenge.
- Re: Asterisk-Users Digest, Vol 5, Issue 219