VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
luis.sanmartin at unix.cl Guest
|
Posted: Tue Mar 18, 2014 11:13 am Post subject: [asterisk-users] modify from field sip headers |
|
|
Hello,
Im trying to modify the 'From' field in my sip headers in order to include extra info (user=tel) as it follows:
From :”” <sip:005114824403@200.91.0.146 ([email]sip%3A005114824403@200.91.0.146[/email]);user =tel>
However asterisk is still doing this header:
"11111111" <sip:11111111111@1.1.1.1 ([email]sip%3A11111111111@1.1.1.1[/email])>;tag=as167b4b82
Is there a way to accomplish this? Ive been also looking up AGI but without any success. Ideas are welcome!
Kind regards |
|
Back to top |
|
|
wealwildwon at wombit.com Guest
|
Posted: Tue Mar 18, 2014 12:02 pm Post subject: [asterisk-users] modify from field sip headers |
|
|
Quote: | Im trying to modify the 'From' field in my sip headers in order to
include extra info (user=tel) as it follows:
|
The default extensions.conf has this, it might help.
;-------------------------------------------------------------------------------
; from-pstn-to-did
;
; The context is designed for providers who send the DID in the TO: SIP
header
; only. The format of this header is:
;
; To: <sip:2125551212@172.31.74.25>
;
; So the DID must be extracted between the sip: and the @, which this does
;
[from-pstn-toheader]
exten => _.,1,Goto(from-pstn,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
;-------------------------------------------------------------------------------
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|