Why are you touching the code? Just edit the sip profile and set the ext-sip-ip and ext-rtp-ip or remove them that is what triggers the stun lookup. In the default config its set to stun:stun.freeswitch.org which in your case that is failing.

The $1 results from not doing a capture in your regular expression so wrap it in () ie ^(5\d{4})$"

/b

On Jul 31, 2008, at 11:30 AM, Simon Shaw wrote:

OK, commented out the lines of code in sofia_glue.c that run the stun test and now I see an INVITE message being sent to the trunk, however the To field [EMAIL PROTECTED] instead of 58661 as I would have expected.

Brian West
sip:[EMAIL PROTECTED]



_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to