[Freeswitch-users] Freeswitch User Adding

Brian Foster bdfoster at davri.com
Sun May 12 19:21:05 MSD 2013


This is exactly why we use the user_exists call. No matter what the user's
id is it works. I don't know why that isn't in the default dialplan but if
you need an example I can give you one when I get home.

-BDF
On May 11, 2013 7:07 PM, "Sean Devoy" <sdevoy at bizfocused.com> wrote:

> I cannot tell you why this is only a problem with extensions w/ 5 digits,
> but I can tell you what failed here.  Your underlying error is:****
>
> 2013-05-11 12:14:14.980444 [ERR] sofia_glue.c:4927 a=crypto in RTP/AVP,
> refer to rfc3711****
>
> 2013-05-11 12:14:14.980444 [ERR] mod_sofia.c:2789 CODEC NEGOTIATION
> ERROR.  SDP:
>                                                        ****
>
> v=0
> ****
>
> o=- 3577252345 3577252345 IN IP4
> 141.196.174.60
> ****
>
> s=pjmedia
>                                                               ****
>
> c=IN IP4
> 141.196.174.60
> ****
>
> t=0 0
>
> ****
>
> m=audio 4010 RTP/AVP 8 0 3
> 101
>                                                                      ****
>
> c=IN IP4
> 141.196.174.60
> ****
>
> a=rtpmap:8
> PCMA/8000
> ****
>
> a=rtpmap:0
> PCMU/8000
>
> ****
>
> a=rtpmap:3
> GSM/8000
> ****
>
> a=rtpmap:101
> telephone-event/8000
> ****
>
> a=fmtp:101
> 0-15
> ****
>
> a=rtcp:4011 IN IP4
> 192.168.43.10
>
> ****
>
> a=crypto:1 AES_CM_128_HMAC_SHA1_80
> inline:fig56WojEoKmN07gnvdJZ9Mk6lznskMJszpBOqik
>       ****
>
> a=crypto:2 AES_CM_128_HMAC_SHA1_32
> inline:HUiy486/260zwSkQ0Z771fKC+g48P9cYEXNqlEYO
> ****
>
> ** **
>
> 2013-05-11 12:14:14.980444 [DEBUG] switch_core_session.c:830 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]****
>
> 2013-05-11 12:14:14.980444 [DEBUG] switch_channel.c:2994
> (sofia/internal/60021 at my.server.ip.address) Callstate Change RINGING ->
> HANGUP                                           ****
>
> 2013-05-11 12:14:14.980444 [NOTICE] switch_channel.c:3216 Hangup
> sofia/internal/60021 at my.server.ip.address [CS_EXECUTE]
> [INCOMPATIBLE_DESTINATION]****
>
> ** **
>
> Can you try it without the crypto stuff and paste the same output to
> pastebin.freeswitch.org (not here in email)?****
>
> ** **
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Burak
> BorYazilim
> *Sent:* Saturday, May 11, 2013 7:28 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Freeswitch User Adding****
>
> ** **
>
> First off all thanks for your kind helps.****
>
> ** **
>
> Let me tell you the situation more clearly.****
>
> ** **
>
> Firstly I used Android phones as sip clients with the open source sip
> client program, CSipSimple. My server computer has Ubuntu 12.04 LTS with
> one static ip address.****
>
> freeswitch version output: FreeSWITCH Version
> 1.3.13b+git~20130205T003128Z~70a9560306 (git 70a9560 2013-02-05 00:31:28Z)
> ****
>
> We were using the system with 4 digits number sip account names without
> any problem. Also the account name will be used as dial number. An example
> of the user xml file is below. I changed the regex in dialpan/default.xml.
> The changings were perfectly succesfull with, again, 4 digits number. But
> when trying to include any other number of digits (3, 5 and 6 were tested),
> it doesn't work(When I change the regex to accept only 5 digits numbers, 4
> digits ones didnt work as expected). I really could not understand why it
> is happening. Why there was no problem with 4 digits number and why the
> exact same system does not work with this basic change.****
>
> ** **
>
> To explain the errors more, I want to talk about my tests. Firstly I used
> 4 digits number user. This test repeated with tls and srtp. These two test
> were succesfull. ****
>
> And the secand test is same with first test but with 5 digits numbers
> without tls and srtp. Registration was succesfull but cant call. (or the
> call could not be forwarded) Of course I changed the regex and execute
> reloadxml in this test. GSM (8kHz) and G722(16kHz) codecs were used. As you
> see below, CODEC NEGOTIATION ERROR occured. After getting this error I
> changed the codes as SILK(16kHz). With this change I made the third test.
> Third test result is also below. ****
>
> ** **
>
> show registretions output: ****
>
>
> reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata
> ****
>
>
> 60022,my.server.ip.address,oOnxiVJFAgQWLABrD01UsYTVOY3TVSlx,sofia/internal/sip:60022 at 141.196.174.60:52245
> ;ob,1368271435,141.196.174.60,52245,udp,server,****
>
>
> 60021,my.server.ip.address,5r4MTDiZPhs5qzdin9A3hEUh1zZsdqqk,sofia/internal/sip:60021 at 141.196.174.60:57938
> ;ob,1368271446,141.196.174.60,57938,udp,server,****
>
> ** **
>
> ** **
>
> @Sean, sorry but I cant post my whole log file because my server has got a
> network attack so I am quite busy with this attacker. And also I dont think
> CSipSimple has a problem with 5 digits because this system (with 5 digits)
> was succesfull with Kamailio and CSipSimple.****
>
> ** **
>
> If I could not be clear please let me know. Thanks...****
>
> ** **
>
> user xml example: This was exact same with the default users in
> freeswitch. Only the number changed.****
>
> <include>****
>
>   <user id="60022">****
>
>     <params>****
>
>       <param name="password" value="$${default_password}"/>****
>
>       <param name="vm-password" value="60022"/>****
>
>     </params>****
>
>     <variables>****
>
>       <variable name="toll_allow" value="domestic,international,local"/>**
> **
>
>       <variable name="accountcode" value="60022"/>****
>
>       <variable name="user_context" value="default"/>****
>
>       <variable name="effective_caller_id_name" value="Extension 60022"/>*
> ***
>
>       <variable name="effective_caller_id_number" value="60022"/>****
>
>       <variable name="outbound_caller_id_name"
> value="$${outbound_caller_name}"/>****
>
>       <variable name="outbound_caller_id_number"
> value="$${outbound_caller_id}"/>****
>
>       <variable name="callgroup" value="techsupport"/>****
>
>     </variables>****
>
>   </user>****
>
> </include>****
>
> ** **
>
> ** **
>
> ** **
>
> The second test error:****
>
> ** **
>
> 2013-05-11 12:13:56.800443 [DEBUG] sofia_reg.c:1511 Send challenge for
> [60021 at my.server.ip.address]****
>
> 2013-05-11 12:13:56.900444 [DEBUG] sofia_reg.c:1511 Send challenge for
> [60021 at my.server.ip.address]
>                                   ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'record_stereo' = 'true'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_gateway' = 'example.com'
>                           ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_areacode' = '918'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>                         ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'accountcode' = '60021'
>                         ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'user_context' = 'default'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_name' = 'Extension 60021'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_number' = '60021'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_name' = 'FreeSWITCH'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_number' = '0000000000'
>                          ****
>
> 2013-05-11 12:13:56.920444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'callgroup' = 'techsupport'
>                         ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'record_stereo' = 'true'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_gateway' = 'example.com'
>                           ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_areacode' = '918'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>                         ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'accountcode' = '60021'
>                         ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'user_context' = 'default'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_name' = 'Extension 60021'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_number' = '60021'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_name' = 'FreeSWITCH'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_number' = '0000000000'
>                          ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'callgroup' = 'techsupport'
>                         ****
>
> 2013-05-11 12:13:56.980451 [DEBUG] sofia_reg.c:1683 Register:
>
>                       ****
>
> From:    [60021 at my.server.ip.address]
>
>                             ****
>
> Contact: ["user" <sip:60021 at 141.196.174.60:54008;ob>]
>
>                       ****
>
> Expires: [900]
>
>                      ****
>
> 2013-05-11 12:14:06.820443 [DEBUG] sofia_reg.c:1511 Send challenge for
> [60022 at my.server.ip.address]
>                                   ****
>
> 2013-05-11 12:14:06.900444 [DEBUG] sofia_reg.c:1511 Send challenge for
> [60022 at my.server.ip.address]
>                                   ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'record_stereo' = 'true'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_gateway' = 'example.com'
>                           ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_areacode' = '918'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>                         ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'accountcode' = '60022'
>                         ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'user_context' = 'default'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_name' = 'Extension 60022'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_number' = '60022'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_name' = 'FreeSWITCH'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_number' = '0000000000'
>                          ****
>
> 2013-05-11 12:14:06.980444 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'callgroup' = 'techsupport'
>                         ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'record_stereo' = 'true'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_gateway' = 'example.com'
>                           ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_areacode' = '918'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>                         ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'accountcode' = '60022'
>                         ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'user_context' = 'default'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_name' = 'Extension 60022'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_number' = '60022'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_name' = 'FreeSWITCH'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_number' = '0000000000'
>                          ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'callgroup' = 'techsupport'
>                         ****
>
> 2013-05-11 12:14:07.020442 [DEBUG] sofia_reg.c:1683 Register:
>
>                       ****
>
> From:    [60022 at my.server.ip.address]
>
>                             ****
>
> Contact: ["user" <sip:60022 at 141.196.174.60:33822;ob>]
>
>                       ****
>
> Expires: [900]
>
>                      ****
>
> 2013-05-11 12:14:14.640437 [NOTICE] switch_channel.c:968 New Channel
> sofia/internal/60021 at my.server.ip.address[26730cd2-ba1b-11e2-acc5-bda7cbfd9554]
> ****
>
> 2013-05-11 12:14:14.640437 [DEBUG] switch_core_session.c:975 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]****
>
> 2013-05-11 12:14:14.640437 [DEBUG] switch_core_session.c:975 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                                ****
>
> 2013-05-11 12:14:14.640437 [DEBUG] switch_core_state_machine.c:415 (
> sofia/internal/60021 at my.server.ip.address) Running State Change CS_NEW
>                                      ****
>
> 2013-05-11 12:14:14.640437 [DEBUG] switch_core_state_machine.c:433 (
> sofia/internal/60021 at my.server.ip.address) State NEW
>                                      ****
>
> 2013-05-11 12:14:14.660438 [DEBUG] sofia.c:7733 IP 141.196.174.60 Rejected
> by acl "domains". Falling back to Digest auth.
>                       ****
>
> 2013-05-11 12:14:14.660438 [DEBUG] sofia_reg.c:1511 Send challenge for
> [60022 at my.server.ip.address]
>                                   ****
>
> 2013-05-11 12:14:14.660438 [DEBUG] switch_core_session.c:975 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                                ****
>
> 2013-05-11 12:14:14.660438 [DEBUG] sofia.c:1719 detaching session
> 26730cd2-ba1b-11e2-acc5-bda7cbfd9554
>                                ****
>
> 2013-05-11 12:14:14.780439 [DEBUG] sofia.c:1811 Re-attaching to session
> 26730cd2-ba1b-11e2-acc5-bda7cbfd9554
>                          ****
>
> 2013-05-11 12:14:14.780439 [DEBUG] switch_core_session.c:975 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                                ****
>
> 2013-05-11 12:14:14.780439 [DEBUG] switch_core_session.c:975 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                                ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia.c:7733 IP 141.196.174.60 Rejected
> by acl "domains". Falling back to Digest auth.
>                       ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'record_stereo' = 'true'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_gateway' = 'example.com'
>                           ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'default_areacode' = '918'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'transfer_fallback_extension' = 'operator'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'toll_allow' = 'domestic,international,local'
>                         ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'accountcode' = '60021'
>                         ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'user_context' = 'default'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_name' = 'Extension 60021'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'effective_caller_id_number' = '60021'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_name' = 'FreeSWITCH'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'outbound_caller_id_number' = '0000000000'
>                          ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia_reg.c:2767 event_add_header ->
> 'callgroup' = 'techsupport'
>                         ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia.c:5578 Channel
> sofia/internal/60021 at my.server.ip.address entering state [received][100]
>                                                  ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia.c:5589 Remote SDP:
>
>                       ****
>
> v=0
>
>                       ****
>
> o=- 3577252345 3577252345 IN IP4 141.196.174.60
>
>                       ****
>
> s=pjmedia
>
>                       ****
>
> c=IN IP4 141.196.174.60
>
>                       ****
>
> t=0 0
>
>                       ****
>
> m=audio 4010 RTP/AVP 8 0 3 101
>
>                      ****
>
> c=IN IP4 141.196.174.60
>
>                       ****
>
> a=rtpmap:8 PCMA/8000
>
>                      ****
>
> a=rtpmap:0 PCMU/8000
>
>                      ****
>
> a=rtpmap:3 GSM/8000
>
>                       ****
>
> a=rtpmap:101 telephone-event/8000
>
>                       ****
>
> a=fmtp:101 0-15
>
>                       ****
>
> a=rtcp:4011 IN IP4 192.168.43.10
>
>                      ****
>
> a=crypto:1 AES_CM_128_HMAC_SHA1_80
> inline:fig56WojEoKmN07gnvdJZ9Mk6lznskMJszpBOqik
>                                                              ****
>
> a=crypto:2 AES_CM_128_HMAC_SHA1_32
> inline:HUiy486/260zwSkQ0Z771fKC+g48P9cYEXNqlEYO
>                                                              ****
>
> ** **
>
> 2013-05-11 12:14:14.800439 [DEBUG] sofia.c:5802 (
> sofia/internal/60021 at my.server.ip.address) State Change CS_NEW -> CS_INIT
>                                                        ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_session.c:1291 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                               ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:415 (
> sofia/internal/60021 at my.server.ip.address) Running State Change CS_INIT
>                                     ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:454 (
> sofia/internal/60021 at my.server.ip.address) State INIT
>                                     ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] mod_sofia.c:86
> sofia/internal/60021 at my.server.ip.address SOFIA INIT
>                                                        ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] mod_sofia.c:126 (
> sofia/internal/60021 at my.server.ip.address) State Change CS_INIT ->
> CS_ROUTING                                                 ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_session.c:1291 Send signal
> sofia/internal/60021 at my.server.ip.address [BREAK]
>                               ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:454 (
> sofia/internal/60021 at my.server.ip.address) State INIT going to sleep
>                                      ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:415 (
> sofia/internal/60021 at my.server.ip.address) Running State Change
> CS_ROUTING                                    ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_channel.c:2003 (
> sofia/internal/60021 at my.server.ip.address) Callstate Change DOWN ->
> RINGING                                             ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:470 (
> sofia/internal/60021 at my.server.ip.address) State ROUTING
>                                      ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] mod_sofia.c:149
> sofia/internal/60021 at my.server.ip.address SOFIA ROUTING
>                                                      ****
>
> 2013-05-11 12:14:14.800439 [DEBUG] switch_core_state_machine.c:117
> sofia/internal/60021 at my.server.ip.address Standard ROUTING
>                                       ****
>
> 2013-05-11 12:14:14.800439 [INFO] mod_dialplan_xml.c:557 Processing 60021
> <60021>->60022 in context default****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->unloop] continue=false****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (PASS) [unloop]
> ${unroll_loops}(true) =~ /^true$/ break=on-false
>                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL) [unloop]
> ${sip_looped_call}() =~ /^true$/ break=on-false
>                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->tod_example] continue=true
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Date/TimeMatch (FAIL)
> [tod_example] break=on-false
>                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->holiday_example] continue=true
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Date/TimeMatch (FAIL)
> [holiday_example] break=on-false
>                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->global-intercept] continue=false
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [global-intercept] destination_number(60022) =~ /^886$/ break=on-false
>                                       ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->group-intercept] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [group-intercept] destination_number(60022) =~ /^\*8$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->intercept-ext] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [intercept-ext] destination_number(60022) =~ /^\*\*(\d+)$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->redial] continue=false
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL) [redial]
> destination_number(60022) =~ /^(redial|870)$/ break=on-false
>                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->global] continue=true
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL) [global]
> ${call_debug}(false) =~ /^true$/ break=never
>                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL) [global]
> ${sip_has_crypto}() =~
> /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/ break=never
>      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (PASS) [global]
> ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/
> break=on-false                 ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (PASS) [global]
> ${switch_r_sdp}(v=0
>                             ****
>
> o=- 3577252345 3577252345 IN IP4 141.196.174.60
>
>                       ****
>
> s=pjmedia
>
>                       ****
>
> c=IN IP4 141.196.174.60
>
>                       ****
>
> t=0 0
>
>                       ****
>
> m=audio 4010 RTP/AVP 8 0 3 101
>
>                      ****
>
> c=IN IP4 141.196.174.60
>
>                       ****
>
> a=rtpmap:8 PCMA/8000
>
>                      ****
>
> a=rtpmap:0 PCMU/8000
>
>                      ****
>
> a=rtpmap:3 GSM/8000
>
>                       ****
>
> a=rtpmap:101 telephone-event/8000
>
>                       ****
>
> a=fmtp:101 0-15
>
>                       ****
>
> a=rtcp:4011 IN IP4 192.168.43.10
>
>                      ****
>
> a=crypto:1 AES_CM_128_HMAC_SHA1_80
> inline:fig56WojEoKmN07gnvdJZ9Mk6lznskMJszpBOqik
>                                                              ****
>
> a=crypto:2 AES_CM_128_HMAC_SHA1_32
> inline:HUiy486/260zwSkQ0Z771fKC+g48P9cYEXNqlEYO
>                                                              ****
>
> ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never
>
>                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(sip_secure_media=true)
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> export(sip_secure_media=true)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Absolute Condition
> [global]
>                                 ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
>                                        ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-last_dial/global/${uuid})
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->snom-demo-2] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [snom-demo-2] destination_number(60022) =~ /^9001$/ break=on-false
>                                       ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->snom-demo-1] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [snom-demo-1] destination_number(60022) =~ /^9000$/ break=on-false
>                                       ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->eavesdrop] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [eavesdrop] destination_number(60022) =~ /^88(\d{4})$|^\*0(.*)$/
> break=on-false                                  ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->eavesdrop] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [eavesdrop] destination_number(60022) =~ /^779$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->call_return] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [call_return] destination_number(60022) =~ /^\*69$|^869$|^lcr$/
> break=on-false                                   ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->del-group] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [del-group] destination_number(60022) =~ /^80(\d{2})$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->add-group] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [add-group] destination_number(60022) =~ /^81(\d{2})$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->call-group-simo] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [call-group-simo] destination_number(60022) =~ /^82(\d{2})$/ break=on-false
>                                      ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->call-group-order] continue=false
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [call-group-order] destination_number(60022) =~ /^83(\d{2})$/
> break=on-false                                     ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->extension-intercom] continue=false
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (FAIL)
> [extension-intercom] destination_number(60022) =~ /^8(10[01][0-9])$/
> break=on-false                              ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address parsing
> [default->Local_Extension] continue=false
>                                           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Regex (PASS)
> [Local_Extension] destination_number(60022) =~
> /^([0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9])$/ break=on-false
>
>
>           ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> export(dialed_extension=60022)
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> bind_meta_app(1 b s execute_extension::dx XML features)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> bind_meta_app(2 b s
> record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)
>
>
>               ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> bind_meta_app(3 b s execute_extension::cf XML features)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> bind_meta_app(4 b s execute_extension::att_xfer XML features)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(ringback=${us-ring})
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(transfer_ringback=local_stream://moh)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(call_timeout=30)
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(hangup_after_bridge=true)
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(continue_on_fail=true)
>                                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})
>                                        ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
> var callgroup)})                             ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid})
>                                            ****
>
> Dialplan: sofia/internal/60021 at my.server.ip.address Action
> hash(insert/${domain_name}-last_dial_ext/global/${uuid})
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130512/765b3bb6/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list