Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_various.c:850 mor_loop_control: Loop count: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2290 mor_exec: Core version: 11.pre.100, Server ID: 1, Dial out settings: , active calls enabled: 1, active calls count: 44, weekday: WD (2011-12-12), use lcr partials: 1, check_banned_clis: 1, use_speed_dials: 1, play_hgc_audio: 0, use_flat_rates: 1, server ip: 127.0.0.1
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_various.c:507 mor_get_variables: Tell balance: 0, tell time: 0, tell time mod.: 1.000000, tell r.time when left: 0 s, tell r.time every: 60 s, card_id: 0, callback: 0, call_leg1: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_authentication.c:1308 mor_read_data_from_channel: Date: 2011-12-12, time: 16:02:38
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_various.c:351 mor_check_weekday: Weekday: WD for date: 2011-12-12
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_authentication.c:1417 mor_read_data_from_channel: CLID: 11268, Src: 11268, Dst: 447714027806, Acc/dev_id: 1698, CallerID: 11268, uniqueid: 1323702158.419551
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_authentication.c:185 mor_get_user_by_acc: User's data retrieved: id: 1165, lcr_id: 241, balance: 17.265193, frozen_balance: 0.000000, credit: -1.000000, blocked: 0, lcr_order: price, tariff_id: 841, postpaid: 0, day type: WD, exchange rate: 0.868800, ani: 0, tell balance: 0, time: 0, when left: 60s, every: 60s, user currency: GBP, def.curr: EUR, tariff type: user, allow loss calls: 0, cid from dids: 0, cid from did: , record: 0, owner: 1157, sipchaninfo: 0, allow duplicate calls: 0, user call limit: 0, device call limit: 0, device active calls: 1, user active calls: 0, is_trunk: 0, vat_percent: 0.000000, originator_ip: , canreinvite: 0, record_forced: 0, recording_forced_enabled: 0, fake_ring: 0, save_call_log: 0, warning balance(wb) active: 1, wb value: 1.151013, wb call: 0, wb file id: 0, grace time: 0, reseller_allow_loss_calls: 0, lang: en, lcr_first_prov_perc: 0.000000, change_failed_code_to: 0, device_max_timeout: 0, forward_did: , user tell currency: GBP
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callerid.c:147 mor_localize_callerid: Localized CallerID: 11268 (cut: , add: )
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_callerid.c:192 print_to_log_callerid: Current CALLERID(all): "" <11268>
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callerid.c:161 mor_localize_callerid: Changed CallerID to: 11268
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_callerid.c:192 print_to_log_callerid: Current CALLERID(all): "" <11268>
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:638 mor_get_reseller_calling_data: Reseller's data retrieved: id: 1157, balance: 5.000000, frozen_balance: 0.000000, credit: -1.000000, blocked: 0, postpaid: 0, tariff_id: 780, purpose: user_wholesale, exchange rate: 1.000000, allow_loss_calls: 0, call_limit: 100, active calls: 0, own_providers: 1
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:189 mor_authorize: Caller type: Local
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callerid.c:422 mor_check_phonebooks: Checking Phonebooks for CallerID Name change...
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_destinations.c:287 mor_localize_destination: Localization info: cut: , add: , new_did: , new_device_id: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_destinations.c:316 mor_localize_destination: Localized destination: 447714027806
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_dids.c:20 mor_check_did: Checking DID (447714027806) ...
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_dids.c:291 mor_check_did: DID not found...
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:305 mor_get_user_calling_data_wholesale: reseller wholesale rate: 0.039930, incr.: 1, min_time: 0, conn_fee: 0.000000
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:90 mor_get_user_calling_data: Adv.rates for user: prefix|from|duration|type|round|price
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:167 mor_get_user_calling_data: 447714|1|60|1|60|0.287520
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:167 mor_get_user_calling_data: 447714|61|-1|1|30|0.287520
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:200 mor_get_user_calling_data: Retrieved 2 adv.rates, max adv.rate: 0.287520, total event price: 0.000000
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_flatrates.c:21 mor_flatrates_get_data: Checking FlatRate plan...
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_flatrates.c:84 mor_flatrates_get_data: FlatRate plan not applicable for this number
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:432 mor_get_provider_calling_data: LCR table:
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:511 mor_get_provider_calling_data: prov_id: 340, SIP/ @ sip.orbistelecom.com, device_id: 1696, prefix: 447714, rate: 0.0427, increment: 1, min_time: 0, conn_fee: 0.000000, exchange rate: 0.868800, cut: , add: , timeout: 60, interpret as failed: no answer: 0, busy: 0, priority: 1, call limit: 0, active calls: 0, latency: 0.000000, grace_time: 0, percent: 0, fake_ring: 0, save_call_log: 0, use pai: 0, 302 support: 0, common use: 0, owner_id: 1157
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callingdata.c:544 mor_get_provider_calling_data: Retrieved 1 route(s)
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor.c:739 mor_authorize: User call limit: 0, tariff type: user
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:777 mor_authorize: Initial timeout: 3130
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:869 mor_authorize: DID owner timeout: -1, DID incoming timeout: -1, reseller timeout: -1
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:890 mor_authorize: Selected lowest timeout: 3130
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:918 mor_authorize: Timeout after increment adjustment: 3120
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:979 mor_authorize: Timeout: 3117, real timeout: 3130, user_id: 1165, callertype: Local, anitype: , postpaid: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1102 mor_authorize: Caller/card balance to freeze: 17.192293
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2323 mor_exec: SRC record: 0, record_forced: 0, rec_forced_enabled: 0, DST record: 0, record_forced: 0, rec_forced_enabled: 0
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_debug.c:415 mor_get_lega_info: LegA codec: alaw
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor.c:2658 mor_exec: Provider's call limit (0) not reached. Active calls: 0
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_various.c:30 mor_check_allow_loss_calls: Rates. Provider: 0.049148, reseller: 0.039930, user: 0.330939
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_various.c:612 mor_cdr_reset: Reseting CDR! Previously answered billsec: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_routing.c:319 mor_check_serverproviders: Do routing: 0, route_device_name:
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_callerid.c:287 mor_prov_rules_callerid: CallerID after Provider Rules applied: 11268 (cut: , add: )
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2809 mor_exec: Destination after Provider Rules applied: 447714027806 (cut: , add: )
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2878 mor_exec: Terminator IP: sip.orbistelecom.com
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2912 mor_exec: Dial string (Local to Outside): 'SIP/447714027806@ipauthDd2hda9X|60|L(3117000:60000:60000)iM(mor_answer|1323702158.419551)'
- -- Limit Data for this call:
- > timelimit = 3117000
- > play_warning = 60000
- > play_to_caller = yes
- > play_to_callee = no
- > warning_freq = 60000
- > start_sound =
- > warning_sound = timeleft
- > end_sound =
- Audio is at 91.121.82.167 port 18752
- Adding codec 0x8 (alaw) to SDP
- Adding codec 0x100 (g729) to SDP
- Adding codec 0x4 (ulaw) to SDP
- Adding codec 0x2 (gsm) to SDP
- Adding non-codec 0x1 (telephone-event) to SDP
- Reliably Transmitting (no NAT) to 91.195.228.9:5060:
- INVITE sip:447714027806@sip.orbistelecom.com:5060 SIP/2.0
- Via: SIP/2.0/UDP 91.121.82.167:5060;branch=z9hG4bK4ab145ba;rport
- From: "11268" <sip:11268@91.121.82.167>;tag=as06888e69
- To: <sip:447714027806@sip.orbistelecom.com:5060>
- Contact: <sip:11268@91.121.82.167>
- Call-ID: 4b24e55a7761040026f4ae4e4c3eaa13@91.121.82.167
- CSeq: 102 INVITE
- User-Agent: MOR Softswitch
- Max-Forwards: 70
- Date: Mon, 12 Dec 2011 15:02:38 GMT
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
- Supported: replaces
- Content-Type: application/sdp
- Content-Length: 334
- v=0
- o=root 2680 2680 IN IP4 91.121.82.167
- s=session
- c=IN IP4 91.121.82.167
- t=0 0
- m=audio 18752 RTP/AVP 8 18 0 3 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=rtpmap:0 PCMU/8000
- a=rtpmap:3 GSM/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=silenceSupp:off - - - -
- a=ptime:20
- a=sendrecv
- ---
- -- Called 447714027806@ipauthDd2hda9X
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine.
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM extlines WHERE exten = '447714027806' AND context = 'mor' AND priority = '-1'
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine.
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:260 realtime_multi_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM extlines WHERE exten LIKE '\\_%' AND context = 'mor' AND priority = '-1' ORDER BY exten
- <--- SIP read from 91.195.228.9:5060 --->
- SIP/2.0 100 Trying
- Via: SIP/2.0/UDP 91.121.82.167:5060;branch=z9hG4bK4ab145ba;rport=5060
- To: <sip:447714027806@sip.orbistelecom.com:5060>
- From: "11268"<sip:11268@91.121.82.167>;tag=as06888e69
- Call-ID: 4b24e55a7761040026f4ae4e4c3eaa13@91.121.82.167
- CSeq: 102 INVITE
- Content-Length: 0
- <------------->
- --- (7 headers 0 lines) ---
- <--- SIP read from 91.195.228.9:5060 --->
- SIP/2.0 401 Unauthorized
- Via: SIP/2.0/UDP 91.121.82.167:5060;branch=z9hG4bK4ab145ba;rport=5060
- Record-Route: <sip:91.195.228.9;lr>
- To: <sip:447714027806@sip.orbistelecom.com:5060>
- From: "11268"<sip:11268@91.121.82.167>;tag=as06888e69
- Call-ID: 4b24e55a7761040026f4ae4e4c3eaa13@91.121.82.167
- CSeq: 102 INVITE
- Server: Sippy
- WWW-Authenticate: Digest realm="sip.orbistelecom.com",nonce="95cced51c91901e3c7a73dc96fadb19f6467"
- Content-Length: 0
- <------------->
- --- (10 headers 0 lines) ---
- Transmitting (no NAT) to 91.195.228.9:5060:
- ACK sip:447714027806@sip.orbistelecom.com:5060 SIP/2.0
- Via: SIP/2.0/UDP 91.121.82.167:5060;branch=z9hG4bK4ab145ba;rport
- From: "11268" <sip:11268@91.121.82.167>;tag=as06888e69
- To: <sip:447714027806@sip.orbistelecom.com:5060>
- Contact: <sip:11268@91.121.82.167>
- Call-ID: 4b24e55a7761040026f4ae4e4c3eaa13@91.121.82.167
- CSeq: 102 ACK
- User-Agent: MOR Softswitch
- Max-Forwards: 70
- Content-Length: 0
- ---
- [2011-12-12 16:02:38] NOTICE[2708]: chan_sip.c:13368 handle_response_invite: Failed to authenticate on INVITE to '"11268" <sip:11268@91.121.82.167>;tag=as06888e69'
- -- SIP/ipauthDd2hda9X-00061516 is circuit-busy
- == Everyone is busy/congested at this time (1:0/1/0)
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2921 mor_exec: Res after dialing '0', hangup cause: FAILED
- Really destroying SIP dialog '4b24e55a7761040026f4ae4e4c3eaa13@91.121.82.167' Method: INVITE
- [2011-12-12 16:02:38] WARNING[10740]: app_mor.c:2949 mor_exec: WARNING: Provider failed. Hangupcause: FAILED, code: 21, mor hangupcause: 0, hangupcause to DB: 21
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1325 mor_acct_stop: real duration: 0.017149, duration: 1
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1373 mor_acct_stop: Seconds to bill: 0
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1464 mor_acct_stop: LegA: FAILED, LegB: FAILED
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1944 mor_acct_stop: Reseller prices after convert to default currency: rate: 0.000000, price: 0.000000
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1972 mor_acct_stop: Prices after convert to default currency: prov_rate: 0.049148, prov_price: 0.000000, user_rate: 0.330939, user_price: 0.000000
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:1984 mor_acct_stop: Reseller's rate: 0.049148, price: 0.000000 changed to Provider's because reseller used his own providers.
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor_debug.c:186 process_call_details: PDD:
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2047 mor_acct_stop: Reseller's balance will not be changed because he used his own provider.
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:2116 mor_acct_stop: User's balance will be deducted by: 0.000000, and frozen balance by: 17.192293.
- [2011-12-12 16:02:38] DEBUG[10740]: app_mor_various.c:130 mor_postpaid_call_end_control: No need to check postpaid user's call end control. Skipping this step.
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:3031 mor_exec: Hangupcause: FAILED, chan->hangupcause: 21, mor hangupcause: 0, hangupcause to DB: 21
- [2011-12-12 16:02:38] NOTICE[10740]: app_mor.c:3051 mor_exec: Application mor started and ended succesfully, with end code: 0!
- -- Executing [447714027806@mor:7] GotoIf("SIP/11268-00061515", "0?mor_callingcard|s|1") in new stack
- -- Executing [447714027806@mor:8] GotoIf("SIP/11268-00061515", "0?mor_anipin|s|1") in new stack
- -- Executing [447714027806@mor:9] GotoIf("SIP/11268-00061515", "0?BUSY|1:HANGUP|1") in new stack
- -- Goto (mor,HANGUP,1)
- -- Executing [HANGUP@mor:1] Hangup("SIP/11268-00061515", "") in new stack
- == Spawn extension (mor, HANGUP, 1) exited non-zero on 'SIP/11268-00061515'
- -- Executing [h@mor:1] Set("SIP/11268-00061515", "MOR_DIALSTATUS=CONGESTION") in new stack
- -- Executing [h@mor:2] Set("SIP/11268-00061515", "MOR_RDURATION=0.017149") in new stack
- -- Executing [h@mor:3] Set("SIP/11268-00061515", "MOR_RBILLSEC=0.000000") in new stack
- -- Executing [h@mor:4] Set("SIP/11268-00061515", "MOR_CLID="" <11268>") in new stack
- -- Executing [h@mor:5] Set("SIP/11268-00061515", "MOR_CHANNEL=SIP/11268-00061515") in new stack
- -- Executing [h@mor:6] NoOp("SIP/11268-00061515", "HANGUP CAUSE: 21") in new stack
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine.
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM extlines WHERE exten = 'h' AND context = 'mor' AND priority = '7'
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:657 mysql_reconnect: MySQL RealTime: Everything is fine.
- [2011-12-12 16:02:38] DEBUG[10740]: res_config_mysql.c:260 realtime_multi_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM extlines WHERE exten LIKE '\\_%' AND context = 'mor' AND priority = '7' ORDER BY exten
- -- Got SIP response 503 "Service Unavailable" back from 85.113.37.220
- -- SIP/ipautheReEvMFp-0006150c is circuit-busy
- == Everyone is busy/congested at this time (1:0/1/0)
Add Comment
Please, Sign In to add comment