[SR-Users] NAT fixups not applied for voicemail

2012-05-09 Thread x-kamailio
Greetings, Here's another problem I'm having with kamailio 3.2 and the standard kamailio.cfg script. If the calling device is NATed, everything works fine if the original call gets connected. That is, the INVITE sent to the called device has the correct NAT fixups applied. But if the called devi

[SR-Users] Problem with parallel forking of aliases

2012-05-09 Thread x-kamailio
Greetings, I'm having trouble getting parallel forking to work with aliasdb. I'm running kamailio 3.2 with the standard kamailio.cfg script. I have found that if an alias points to a set of addresses that all reference local devices that are registered with the server, kamailio sends an invitatio

[SR-Users] testing the value of $si

2012-04-27 Thread x-kamailio
How do I compare $si to a particular IP address value? This doesn't seem to work: if( $si == "123.123.123.123") ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin

Re: [SR-Users] Consulting needed

2011-02-28 Thread x-kamailio
I need similar assistance. Drop me an email, too! -- Mark Sidell Partner Forte, Inc. 919-942-7068 fax 919-969-2844 www.forteinc.com ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.s

Re: [SR-Users] how to route to new URI on failure

2011-02-27 Thread x-kamailio
On Sun, 27 Feb 2011 13:29:10 -0500, Alex Balashov wrote: > Try this: > > $ru = ... new URI ... > append_branch(); > t_relay(); Thanks for the suggestion, but it didn't work! The new INVITE goes out with the new URI, but kamailio sends the INVITE to the IP address of the device that

[SR-Users] how to route to new URI on failure

2011-02-26 Thread x-kamailio
I'm trying to route failed calls to a voicemail URI. The failure route couldn't be simpler: failure_route[FAIL_ONE] { if (t_is_canceled()) { exit; } if( t_check_status("486|408") { append_branch( "sip:foo@2.2.2.2"); t_relay(); } } But, it doesn't work. For example

[SR-Users] how to combine alias_db_lookup() with lookup()

2011-02-26 Thread x-kamailio
I'm trying to use the db_alias module as a way to define "generic" addresses that map to a set of actual phones. For example, I'd like the alias "h...@foo.bar" to map to "kitc...@foo.bar" and "off...@foo.bar", so that both phones ring when a call comes in to "home". I have set the append_branches

[SR-Users] how to forward on busy

2011-02-23 Thread x-kamailio
Is there an example somewhere that shows how to do forward-on-busy, starting with the kamailio.cfg from version 3.1? Ultimately, I want to use a per-user AVP to obtain the forwarding URI, but just an example that shows how to forward to a fixed URI from the failure route would be great. -- Mark S

[SR-Users] how to forward on busy

2011-02-21 Thread x-kamailio
I'm trying to do something very basic, which is to forward a call to a different number on busy. But, the various things I've tried from the examples don't work. Starting with the kamailio.cfg that is included with version 3.1, what code would I add to forward all busy calls to "sip:f...@bar.com"