[Freeswitch-dev] How to display callee_id_name on the caller's phone
Hi all, There is a bridged call, the caller_id_name of leg-A can be displayed correctly on both FS console and callee's phone, but the callee_id_name was always displayed as "Outbound Call"... Some variables during the call are dumped as follows: uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num 8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02 14:29:15,1320240555,sofia/internal/1000@asterisk,CS_EXECUTE,Bob 1000 (FS),1000,137.226.198.252,1001,bridge,user/1001@137.226.198.143,XML,default,G722,16000,64000,G722,16000,64000,,asterisk,1000 @asterisk,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound Call,1001 be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02 14:29:15,1320240555,sofia/internal/sip:1001@137.226.198.252 :5060,CS_EXCHANGE_MEDIA,Bob 1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722,16000,64000,,asterisk,1001@137.226.198.143,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000 (FS),1000 And the configuration of user "Alice 1001"(in file 1001.xml) is like this: (Bob 1000 is also the same kind of config) <include> <user id="1001"> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1001"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Alice 1001"/> <variable name="effective_caller_id_number" value="1001"/> <variable name="outbound_caller_id_name" value="Alice"/> <variable name="outbound_caller_id_number" value="1001"/> <variable name="effective_callee_id_name" value="Alice 1001"/> <variable name="effective_callee_id_number" value="1001"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include> why the "effective_callee_id_name" does not work? Is there something I have not done in order to display the real callee_id_name? Thanks in advance. Best Regards, Han --
add origination_callee_id_name to the dial string <action application="bridge" data="{origination_callee_id_name='fred smith'}sofia/internal/foo@bar.com"/> On Wed, Nov 2, 2011 at 9:42 AM, Han Xin <xin@ind.rwth-aachen.de> wrote:
Hi all, There is a bridged call, the caller_id_name of leg-A can be displayed correctly on both FS console and callee's phone, but the callee_id_name was always displayed as "Outbound Call"...
Some variables during the call are dumped as follows:
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num
8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02 14:29:15,1320240555,sofia/internal/1000@asterisk,CS_EXECUTE,Bob 1000 (FS),1000,137.226.198.252,1001,bridge,user/1001@137.226.198.143,XML,default,G722,16000,64000,G722,16000,64000,,asterisk,1000 @asterisk,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound Call,1001
be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02 14:29:15,1320240555,sofia/internal/sip:1001@137.226.198.252:5060,CS_EXCHANGE_MEDIA,Bob 1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722,16000,64000,,asterisk, 1001@137.226.198.143,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000 (FS),1000
And the configuration of user "Alice 1001"(in file 1001.xml) is like this: (Bob 1000 is also the same kind of config) <include> <user id="1001">
</params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1001"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Alice 1001"/> <variable name="effective_caller_id_number" value="1001"/> <variable name="outbound_caller_id_name" value="Alice"/> <variable name="outbound_caller_id_number" value="1001"/> <variable name="effective_callee_id_name" value="Alice 1001"/> <variable name="effective_callee_id_number" value="1001"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include>
why the "effective_callee_id_name" does not work? Is there something I have not done in order to display the real callee_id_name?
Thanks in advance.
Best Regards, Han --
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Hi, I am using FS for couple years, it was works OK. And, approx 1 year ago, I tested with FreeSWITCH phone Nortel 1535. It worked perfect. Thereafter, I couple times upgraded FS, and right now, I run version from GIT, dated 11-10-29. OS: FreeBSD 7.2, 32 bits. I again connected Nortel 1535, and this time see, connection suddenly broken during call to any "robot": FS #5000, FS #4000, CallCentric #17771234567 Every time, before disconnect, I see chain of log messages like: [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] and HANGUP thereafter. See following samples from the log: Another phones, like VM1188T or PAP2, still works OK. About Nortel: I tested 3 phones, with two firmwares (2.50 & 2.76) -- problem same on both. Can you suggest me, how to fix this issue? Thanks, Oleg CallCentric: 7771234567 2011-11-02 16:39:20.901219 [DEBUG] sofia_reg.c:1984 Changing expire time to 103 by request of proxy sip:callcentric.com 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:39:31.130669 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] FS: 5000 2011-11-02 17:03:08.207852 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-to_do_a_freeswitch_echo_test.wav 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-please.wav] (ru:ru) 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 17:03:09.280490 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-please.wav 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:348 waiting for 4/4 digits t/o 2000 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:395 digits '' 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:585 IVR menu 'demo_ivr' no input detected 2011-11-02 17:03:10.587476 [DEBUG] switch_ivr_menu.c:599 exit-sound 'voicemail/vm-goodbye.wav' 2011-11-02 17:03:10.587476 [DEBUG] switch_core_session.c:2269 sofia/internal/1000@olegh.ath.cx skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) FS: voicemail 2011-11-02 16:51:50.217856 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [ru] 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:244 Handle say:[1290554584] (ru:ru) 2011-11-02 16:51:50.307721 [INFO] mod_say_ru.c:721 ru_say!!! 1290554584! say_opt.gender=0 say_opt.cases=0 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.990445 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:51:50.990445 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 16:51:50.990445 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK]
snippets of logs rarely are helpful, try complete debug logs including sip trace On Wed, Nov 2, 2011 at 4:16 PM, Oleg Khovayko <khovayko@gmail.com> wrote:
Hi,
I am using FS for couple years, it was works OK. And, approx 1 year ago, I tested with FreeSWITCH phone Nortel 1535. It worked perfect.
Thereafter, I couple times upgraded FS, and right now, I run version from GIT, dated 11-10-29. OS: FreeBSD 7.2, 32 bits.
I again connected Nortel 1535, and this time see, connection suddenly broken during call to any "robot": FS #5000, FS #4000, CallCentric #17771234567
Every time, before disconnect, I see chain of log messages like:
[DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] and HANGUP thereafter. See following samples from the log:
Another phones, like VM1188T or PAP2, still works OK. About Nortel: I tested 3 phones, with two firmwares (2.50 & 2.76) -- problem same on both.
Can you suggest me, how to fix this issue?
Thanks,
Oleg
CallCentric: 7771234567
2011-11-02 16:39:20.901219 [DEBUG] sofia_reg.c:1984 Changing expire time to 103 by request of proxy sip:callcentric.com 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:39:31.130669 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK]
FS: 5000
2011-11-02 17:03:08.207852 [DEBUG] switch_ivr_play_say.c:1672 done playing file
/usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-to_do_a_freeswitch_echo_test.wav 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-please.wav] (ru:ru) 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 17:03:09.280490 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-please.wav 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:348 waiting for 4/4 digits t/o 2000 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:395 digits '' 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:585 IVR menu 'demo_ivr' no input detected 2011-11-02 17:03:10.587476 [DEBUG] switch_ivr_menu.c:599 exit-sound 'voicemail/vm-goodbye.wav' 2011-11-02 17:03:10.587476 [DEBUG] switch_core_session.c:2269 sofia/internal/1000@olegh.ath.cx skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
FS: voicemail
2011-11-02 16:51:50.217856 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [ru] 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:244 Handle say:[1290554584] (ru:ru) 2011-11-02 16:51:50.307721 [INFO] mod_say_ru.c:721 ru_say!!! 1290554584! say_opt.gender=0 say_opt.cases=0 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 16:51:50.990445 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:51:50.990445 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx [KILL] 2011-11-02 16:51:50.990445 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx [BREAK]
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Excuse me, I can not enforce FS to write into logfile all debug info. I trued to run according http://wiki.freeswitch.org/wiki/Reporting_Bugs: TPORT_LOG=1 /usr/local/freeswitch/bin/freeswitch but anyway, siptrace does not writing to log, only to fs_cli terminal output. Anyway, I caught SIPtrace messages for Nortel, this is piece of terminal output. I see, FS sends signal BYE, because ACK timeout: 2011-11-02 18:32:07.929071 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/digits/1.wav recv 330 bytes from udp/[192.168.1.17]:5061 at 22:32:07.995778: ------------------------------------------------------------------------ NOTIFY sip:192.168.1.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.17:5061;branch=z9hG4bK-c51ee6c4 From: 1004<sip:1004@192.168.1.5>;tag=12dc6681765b973do1 To:<sip:192.168.1.5> Call-ID: af69bdb1-3c02a9cd@192.168.1.17 CSeq: 274133 NOTIFY Max-Forwards: 70 Event: keep-alive User-Agent: Linksys/PAP2-3.1.22(LS) Content-Length: 0 ------------------------------------------------------------------------ send 669 bytes to udp/[192.168.1.17]:5061 at 22:32:08.001770: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.17:5061;branch=z9hG4bK-c51ee6c4 From: 1004<sip:1004@192.168.1.5>;tag=12dc6681765b973do1 To:<sip:192.168.1.5>;tag=c0N5gH4XH8DQm Call-ID: af69bdb1-3c02a9cd@192.168.1.17 CSeq: 274133 NOTIFY Contact:<sip:173.79.237.112> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-f847059 2011-10-28 15-58-17 -0500 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 ------------------------------------------------------------------------ 2011-11-02 18:32:08.195841 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-to_do_a_freeswitch_echo_test.wav] (ru:ru) 2011-11-02 18:32:08.195841 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms send 1154 bytes to udp/[192.168.1.158]:5060 at 22:32:09.084079: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.158:5060;branch=z9hG4bK-6e-1ae15-7e234642 From: "1000"<sip:1000@olegh.ath.cx>;tag=2f5c50-9e01a8c0-13c4-45026-6d-ad711f2-6d To:<sip:5000@olegh.ath.cx>;tag=1vZmX7aQH6r9m Call-ID: 3039a8-9e01a8c0-13c4-45026-6d-1a07e714-6d CSeq: 2 INVITE Contact:<sip:5000@173.79.237.112:5060;transport=udp> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-f847059 2011-10-28 15-58-17 -0500 Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 242 Remote-Party-ID: "5000"<sip:5000@olegh.ath.cx>;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1320248473 1320248474 IN IP4 192.168.1.5 s=FreeSWITCH c=IN IP4 192.168.1.5 t=0 0 m=audio 24624 RTP/AVP 0 99 a=rtpmap:0 PCMU/8000 a=rtpmap:99 telephone-event/8000 a=fmtp:99 0-16 a=silenceSupp:off - - - - a=ptime:20 ------------------------------------------------------------------------ 2011-11-02 18:32:09.554915 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] send 685 bytes to udp/[192.168.1.158]:5060 at 22:32:09.573772: ------------------------------------------------------------------------ BYE sip:1000@192.168.1.158:5060 SIP/2.0 Via: SIP/2.0/UDP 173.79.237.112;rport;branch=z9hG4bKmBgZ4SN8yDSag Max-Forwards: 70 From:<sip:5000@olegh.ath.cx>;tag=1vZmX7aQH6r9m To: "1000"<sip:1000@olegh.ath.cx>;tag=2f5c50-9e01a8c0-13c4-45026-6d-ad711f2-6d Call-ID: 3039a8-9e01a8c0-13c4-45026-6d-1a07e714-6d CSeq: 19800500 BYE Contact:<sip:5000@173.79.237.112:5060;transport=udp> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-f847059 2011-10-28 15-58-17 -0500 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Reason: SIP;cause=408;text="ACK Timeout" Content-Length: 0 ------------------------------------------------------------------------ 2011-11-02 18:32:09.554915 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] recv 479 bytes from udp/[192.168.1.158]:5060 at 22:32:09.586581: ------------------------------------------------------------------------ SIP/2.0 200 OK From:<sip:5000@olegh.ath.cx>;tag=1vZmX7aQH6r9m To: "1000"<sip:1000@olegh.ath.cx>;tag=2f5c50-9e01a8c0-13c4-45026-6d-ad711f2-6d Call-ID: 3039a8-9e01a8c0-13c4-45026-6d-1a07e714-6d CSeq: 19800500 BYE Via: SIP/2.0/UDP 173.79.237.112;received=192.168.1.5;rport=5060;branch=z9hG4bKmBgZ4SN8yDSag Supported: replaces Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER User-Agent: Nortel IP Phone 1535 (0.2.50.0905) Content-Length: 0 ------------------------------------------------------------------------ 2011-11-02 18:32:09.582519 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx [BREAK] 2011-11-02 18:32:09.582519 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx entering state [terminating][0] 2011-11-02 18:32:09.582519 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx) Callstate Change ACTIVE -> HANGUP 2011-11-02 18:32:09.582519 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx [CS_EXECUTE] [NORMAL_UNSPECIFIED] Anthony Minessale wrote:
snippets of logs rarely are helpful, try complete debug logs including sip trace
On Wed, Nov 2, 2011 at 4:16 PM, Oleg Khovayko <khovayko@gmail.com <mailto:khovayko@gmail.com>> wrote:
Hi,
I am using FS for couple years, it was works OK. And, approx 1 year ago, I tested with FreeSWITCH phone Nortel 1535. It worked perfect.
Thereafter, I couple times upgraded FS, and right now, I run version from GIT, dated 11-10-29. OS: FreeBSD 7.2, 32 bits.
I again connected Nortel 1535, and this time see, connection suddenly broken during call to any "robot": FS #5000, FS #4000, CallCentric #17771234567
Every time, before disconnect, I see chain of log messages like:
[DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] and HANGUP thereafter. See following samples from the log:
Another phones, like VM1188T or PAP2, still works OK. About Nortel: I tested 3 phones, with two firmwares (2.50 & 2.76) -- problem same on both.
Can you suggest me, how to fix this issue?
Thanks,
Oleg
CallCentric: 7771234567
2011-11-02 16:39:20.901219 [DEBUG] sofia_reg.c:1984 Changing expire time to 103 by request of proxy sip:callcentric.com <http://callcentric.com> 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:39:31.130669 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK]
FS: 5000
2011-11-02 17:03:08.207852 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-to_do_a_freeswitch_echo_test.wav 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-please.wav] (ru:ru) 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 17:03:09.280490 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-please.wav 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:348 waiting for 4/4 digits t/o 2000 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:395 digits '' 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:585 IVR menu 'demo_ivr' no input detected 2011-11-02 17:03:10.587476 [DEBUG] switch_ivr_menu.c:599 exit-sound 'voicemail/vm-goodbye.wav' 2011-11-02 17:03:10.587476 [DEBUG] switch_core_session.c:2269 sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
FS: voicemail
2011-11-02 16:51:50.217856 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [ru] 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:244 Handle say:[1290554584] (ru:ru) 2011-11-02 16:51:50.307721 [INFO] mod_say_ru.c:721 ru_say!!! 1290554584! say_opt.gender=0 say_opt.cases=0 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.990445 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:51:50.990445 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 16:51:50.990445 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK]
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org <mailto:FreeSWITCH-dev@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Anthony, Thank you very much for assistance. I produced log-file, contains siptrace, you can get it: http://olegh.ath.cx/freeswitch.log-1535-1 In thins test, I called from numbed 1000 to number 5000. Oleg Anthony Minessale wrote:
snippets of logs rarely are helpful, try complete debug logs including sip trace
On Wed, Nov 2, 2011 at 4:16 PM, Oleg Khovayko <khovayko@gmail.com <mailto:khovayko@gmail.com>> wrote:
Hi,
I am using FS for couple years, it was works OK. And, approx 1 year ago, I tested with FreeSWITCH phone Nortel 1535. It worked perfect.
Thereafter, I couple times upgraded FS, and right now, I run version from GIT, dated 11-10-29. OS: FreeBSD 7.2, 32 bits.
I again connected Nortel 1535, and this time see, connection suddenly broken during call to any "robot": FS #5000, FS #4000, CallCentric #17771234567
Every time, before disconnect, I see chain of log messages like:
[DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] and HANGUP thereafter. See following samples from the log:
Another phones, like VM1188T or PAP2, still works OK. About Nortel: I tested 3 phones, with two firmwares (2.50 & 2.76) -- problem same on both.
Can you suggest me, how to fix this issue?
Thanks,
Oleg
CallCentric: 7771234567
2011-11-02 16:39:20.901219 [DEBUG] sofia_reg.c:1984 Changing expire time to 103 by request of proxy sip:callcentric.com <http://callcentric.com> 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.108503 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:39:31.130669 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:39:31.130669 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:39:31.130669 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 16:39:31.130669 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK]
FS: 5000
2011-11-02 17:03:08.207852 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-to_do_a_freeswitch_echo_test.wav 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-please.wav] (ru:ru) 2011-11-02 17:03:08.459809 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.257683 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 17:03:09.280490 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 17:03:09.280490 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 17:03:09.280490 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 17:03:09.280490 [DEBUG] switch_ivr_play_say.c:1672 done playing file /usr/local/freeswitch/sounds/ru/RU/elena/ivr/ivr-please.wav 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:348 waiting for 4/4 digits t/o 2000 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:395 digits '' 2011-11-02 17:03:09.532638 [DEBUG] switch_ivr_menu.c:585 IVR menu 'demo_ivr' no input detected 2011-11-02 17:03:10.587476 [DEBUG] switch_ivr_menu.c:599 exit-sound 'voicemail/vm-goodbye.wav' 2011-11-02 17:03:10.587476 [DEBUG] switch_core_session.c:2269 sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
FS: voicemail
2011-11-02 16:51:50.217856 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [ru] 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:244 Handle say:[1290554584] (ru:ru) 2011-11-02 16:51:50.307721 [INFO] mod_say_ru.c:721 ru_say!!! 1290554584! say_opt.gender=0 say_opt.cases=0 2011-11-02 16:51:50.307721 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.969016 [DEBUG] switch_core_session.c:872 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK] 2011-11-02 16:51:50.990445 [DEBUG] sofia.c:5283 Channel sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> entering state [terminating][0] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2804 (sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx>) Callstate Change ACTIVE -> HANGUP 2011-11-02 16:51:50.990445 [NOTICE] sofia.c:6039 Hangup sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2011-11-02 16:51:50.990445 [DEBUG] switch_channel.c:2820 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [KILL] 2011-11-02 16:51:50.990445 [DEBUG] switch_core_session.c:1177 Send signal sofia/internal/1000@olegh.ath.cx <mailto:1000@olegh.ath.cx> [BREAK]
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org <mailto:FreeSWITCH-dev@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Stan suggested me to create additional SIP-profile, especial for LAN users. I think, this will solve the problem. Thanks to everyone, Oleg
Thanks Anthony! It is solved by adding <action application="bridge" data="{origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}sofia/internal/foo@bar.com "/> to the dial plan to realize the display of callee's name in FS console. The name displayed in the caller's phone is still the callee's number, but it does not matter. Thans again! ----------------original message----------------- From: "Anthony Minessale" anthony.minessale@gmail.com To: freeswitch-dev@lists.freeswitch.org Date: Wed, 02 Nov 2011 11:07:09 -0500 -------------------------------------------------
add origination_callee_id_name to the dial string
<action application="bridge" data="{origination_callee_id_name='fred smith'}sofia/internal/foo@bar.com "/>
On Wed, Nov 2, 2011 at 9:42 AM, Han Xin xin@ind.rwth-aachen.de wrote:
Hi all, There is a bridged call, the caller_id_name of leg-A can be displayed correctly on both FS console and callee's phone, but the callee_id_name was always displayed as "Outbound Call"...
Some variables during the call are dumped as follows:
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,i p_addr,dest,application,application_data,dialplan,context,read_cod ec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,s ecure,hostname,presence_id,presence_data,callstate,callee_name,cal lee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_nu m
8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02 14:29:15,1320240555,sofia/internal/1000@asterisk,CS_EXECUTE,Bob 1000
(FS),1000,137.226.198.252,1001,bridge,user/1001@137.226.198.143,XM L,default,G722,16000,64000,G722,16000,64000,,asterisk,1000 @asterisk,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound Call,1001
be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02
14:29:15,1320240555,sofia/internal/sip:1001@137.226.198.252 :5060,C S_EXCHANGE_MEDIA,Bob
1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722 ,16000,64000,,asterisk, 1001@137.226.198.143,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000 (FS),1000
And the configuration of user "Alice 1001"(in file 1001.xml) is like this: (Bob 1000 is also the same kind of config) <include> <user id="1001">
</params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1001"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Alice 1001"/> <variable name="effective_caller_id_number" value="1001"/> <variable name="outbound_caller_id_name" value="Alice"/> <variable name="outbound_caller_id_number" value="1001"/> <variable name="effective_callee_id_name" value="Alice 1001"/> <variable name="effective_callee_id_number" value="1001"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include>
why the "effective_callee_id_name" does not work? Is there something I have not done in order to display the real callee_id_name?
Thanks in advance.
Best Regards, Han --
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch -dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
__________________________________________________
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d ev http://www.freeswitch.org
--
you can also set origination_caller_id_number if you wish On Thu, Nov 3, 2011 at 5:48 AM, Han Xin <xin@ind.rwth-aachen.de> wrote:
Thanks Anthony! It is solved by adding
<action application="bridge" data="{origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}sofia/internal/foo@bar.com "/>
to the dial plan to realize the display of callee's name in FS console. The name displayed in the caller's phone is still the callee's number, but it does not matter. Thans again!
----------------original message----------------- From: "Anthony Minessale" anthony.minessale@gmail.com To: freeswitch-dev@lists.freeswitch.org Date: Wed, 02 Nov 2011 11:07:09 -0500 -------------------------------------------------
add origination_callee_id_name to the dial string
<action application="bridge" data="{origination_callee_id_name='fred smith'}sofia/internal/foo@bar.com "/>
On Wed, Nov 2, 2011 at 9:42 AM, Han Xin xin@ind.rwth-aachen.de wrote:
Hi all, There is a bridged call, the caller_id_name of leg-A can be displayed correctly on both FS console and callee's phone, but the callee_id_name was always displayed as "Outbound Call"...
Some variables during the call are dumped as follows:
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,i p_addr,dest,application,application_data,dialplan,context,read_cod ec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,s ecure,hostname,presence_id,presence_data,callstate,callee_name,cal lee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_nu m
8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02 14:29:15,1320240555,sofia/internal/1000@asterisk,CS_EXECUTE,Bob 1000
(FS),1000,137.226.198.252,1001,bridge,user/1001@137.226.198.143,XM L,default,G722,16000,64000,G722,16000,64000,,asterisk,1000 @asterisk,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound Call,1001
be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02
14:29:15,1320240555,sofia/internal/sip:1001@137.226.198.252 :5060,C S_EXCHANGE_MEDIA,Bob
1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722 ,16000,64000,,asterisk, 1001@137.226.198.143,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000 (FS),1000
And the configuration of user "Alice 1001"(in file 1001.xml) is like this: (Bob 1000 is also the same kind of config) <include> <user id="1001">
</params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1001"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Alice 1001"/> <variable name="effective_caller_id_number" value="1001"/> <variable name="outbound_caller_id_name" value="Alice"/> <variable name="outbound_caller_id_number" value="1001"/> <variable name="effective_callee_id_name" value="Alice 1001"/> <variable name="effective_callee_id_number" value="1001"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include>
why the "effective_callee_id_name" does not work? Is there something I have not done in order to display the real callee_id_name?
Thanks in advance.
Best Regards, Han --
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch -dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
__________________________________________________
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d ev http://www.freeswitch.org
--
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Han Xin
-
Oleg Khovayko