Setting SIP From Header using Lua
Hi, following Lua wiki example: session1 = freeswitch.Session("sofia/internal/1001%192.168.1.1"); session2 = freeswitch.Session("sofia/internal/1002%192.168.1.1"); freeswitch.bridge(session1, session2); I'm trying to bridge two numbers on PSTN. Everything works but my SIP Provider reject call since my SIP From (From: "" <sip:0000000000@myserverip) is different from the digest username. I don't have any gateway configured on FS, since auth parameters are passed on Session arguments (["sip_auth_username="..Myuser..",sip_auth_password="..Mypasswd]). I've tried many arguments in order to chenge from user without luck. How can I do it? Thanks in advance. ------------------------------------------------------------------------------- Valore legale alle tue mail InterfreePEC - la tua Posta Elettronica Certificata http://pec.interfree.it -------------------------------------------------------------------------------
participants (1)
-
chrisbware@interfree.it