[asterisk-users] How to create SIP INVITE with different To: Header field than Request-Line URI
Michael Shore
mike at bah.net
Thu Dec 29 15:16:29 CST 2011
Hello,
I'm trying to interface Asterisk with a third party voicemail system. This
voicemail system registers itself as extension 199. This voicemail system
gets the DID number (mailbox) from the SIP To: header field.
My problem is creating the SIP INVITE with a To: field that's different
that the Request-Line URI
I need to create an INVITE that looks like this in Asterisk:
20:23:12 UDP Packet Received from 127.0.0.1:5060
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
INVITE sip:199 at 127.0.0.1:5070;target=101%40voicemailserver;cause=486 SIP/2.0
Via: SIP/2.0/UDP 10.11.11.205:5060;rport;branch=z9hG4bK253292
To: <sip:101 at voicemailserver>
From: "101"<sip:101 at 10.11.11.205>;tag=3277
Call-ID: 1325031862-3292-VOICEMAILSER at 10.11.11.205
CSeq: 14 INVITE
Can this be accomplished?
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111229/bcdc1fae/attachment.htm>
More information about the asterisk-users
mailing list