asterisk2billing.org http://forum.asterisk2billing.org/ |
|
a2billing sip registration show wrong password. http://forum.asterisk2billing.org/viewtopic.php?f=33&t=10333 |
Page 1 of 2 |
Author: | nyt1972 [ Wed May 08, 2013 9:44 am ] |
Post subject: | a2billing sip registration show wrong password. |
Hello experts, this is for the first time Installed a2billing and trying to integrate with freepbx. but when I try to make a call to my server from a soft phone (nimbuz), in asterisk cli I get the following error. Please help me what to do. Code: Connected to Asterisk 11.3.0 currently running on xyz(pid = 4526) [2013-05-08 11:39:46] NOTICE[4555]: chan_sip.c:27786 handle_request_register: Registration from '<sip:[email protected]>' failed for 'y.y.y.y:abcd' - Wrong password Please help me. Thanks in advance. |
Author: | nyt1972 [ Thu May 09, 2013 8:11 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
if sip debug is on then the following is shown. Code: <--- SIP read from UDP:y.y.y.y:13603 --->
REGISTER sip:x.x.x.x SIP/2.0 Via: SIP/2.0/UDP 192.168.0.20:5061;rport;branch=z9hG4bK770628930703_192.168.0.20 Max-Forwards: 70 To: <sip:[email protected]> From: <sip:[email protected]>;tag=sip1366205456255 Call-ID: 770628930703_192.168.0.20 CSeq: 1 REGISTER Contact: <sip:[email protected]:5061> Expires: 3600 User-Agent: Nimbuzz Single Content-Length: 0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, MESSAGE <-------------> --- (12 headers 0 lines) --- Sending to y.y.y.y:13603 (NAT) <--- Transmitting (NAT) to y.y.y.y:13603 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.0.20:5061;branch=z9hG4bK770628930703_192.168.0.20;received=y.y.y.y;rport=13603 From: <sip:[email protected]>;tag=sip1366205456255 To: <sip:[email protected]>;tag=as336676e0 Call-ID: 770628930703_192.168.0.20 CSeq: 1 REGISTER Server: FPBX2.11.0rc1(11.3.0) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="39cabb6f" Content-Length: 0 <------------> Scheduling destruction of SIP dialog '770628930703_192.168.0.20' in 32000 ms (Method: REGISTER) <--- SIP read from UDP:y.y.y.y:13603 ---> ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 192.168.0.20:5061;rport;branch=z9hG4bK770628930703_192.168.0.20 Max-Forwards: 70 To: <sip:[email protected]>;tag=as336676e0 From: <sip:[email protected]>;tag=sip1366205456255 Call-ID: 770628930703_192.168.0.20 CSeq: 1 ACK Contact: <sip:[email protected]:5061> Expires: 3600 User-Agent: Nimbuzz Single Content-Length: 0 <-------------> --- (11 headers 0 lines) --- <--- SIP read from UDP:y.y.y.y:13603 ---> REGISTER sip:x.x.x.x SIP/2.0 Via: SIP/2.0/UDP 192.168.0.20:5061;rport;branch=z9hG4bK5344087869 Max-Forwards: 70 To: <sip:[email protected]> From: <sip:[email protected]>;tag=sip1366205456255 Call-ID: 770628930703_192.168.0.20 CSeq: 2 REGISTER Contact: <sip:[email protected]:5061> Expires: 3600 User-Agent: Nimbuzz Single Content-Length: 0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, MESSAGE Authorization: Digest username="111111111", realm="asterisk", nonce="39cabb6f", uri="sip:x.x.x.x", algorithm=MD5, nc=00000001, response="221eacda1b76cf11558d727040f18208" <-------------> --- (13 headers 0 lines) --- Sending to y.y.y.y:13603 (NAT) <--- Transmitting (NAT) to y.y.y.y:13603 ---> SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.0.20:5061;branch=z9hG4bK5344087869;received=y.y.y.y;rport=13603 From: <sip:[email protected]>;tag=sip1366205456255 To: <sip:[email protected]>;tag=as336676e0 Call-ID: 770628930703_192.168.0.20 CSeq: 2 REGISTER Server: FPBX2.11.0rc1(11.3.0) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0 <------------> [2013-05-09 10:01:31] NOTICE[5859]: chan_sip.c:27786 handle_request_register: Registration from '<sip:[email protected]>' failed for 'y.y.y.y:13603' - Wrong password Scheduling destruction of SIP dialog '770628930703_192.168.0.20' in 32000 ms (Method: REGISTER) |
Author: | nyt1972 [ Sun May 12, 2013 12:45 pm ] |
Post subject: | Re: a2billing sip registration show wrong password. |
no reply; why? |
Author: | bucasia [ Sun May 12, 2013 7:14 pm ] |
Post subject: | Re: a2billing sip registration show wrong password. |
How are you integrating A2Billing and FreePBX? Are they on the same server or different servers. Incorrect password should mean just that. A problem with the SIP user password. |
Author: | bucasia [ Sun May 12, 2013 7:18 pm ] |
Post subject: | Re: a2billing sip registration show wrong password. |
Also, how is this SIP username being generated? Digest username="111111111" Normally when you create A2Billing SIP details for an account the username is a random string of numbers. |
Author: | nyt1972 [ Mon May 13, 2013 6:56 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
A2Billing and FreePBX are on the same server. and 1111111 is not the actual user name, its a dummy number I posted. |
Author: | bucasia [ Mon May 13, 2013 7:20 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
I'm not totally sure what your goal is but a possible setup is ... FreePBX extension registered with FreePBX A custom FreePBX trunk with a 'local' dial command to pass the call to A2Billing Set the a2billing customer number as the 'account code' on the FreePBX extension (used for authentication) You would pass the call between FreePBX and A2Billing using SIP if they were on different servers, but not if they are on the sme server. (them being on the same server makes it more difficult to debug and figure out what is goin on) |
Author: | nyt1972 [ Mon May 13, 2013 8:22 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
Thanks for the reply dear, I new to all this, and rented a server just for practice. If I am not wrong my sip extenstions is SIP/92. and my extenstions_custom.conf is below. Code: [a2billing-all-callback]
exten => _X.,1,DeadAGI(a2billing.php|1|all-callback|1) ;last parameter is the callback area code exten => _X.,n,Hangup [a2billing-predictivedialer] exten => _X.,1,DeadAGI(a2billing.php|1|predictivedialer) exten => _X.,n,Hangup [a2billing-did] exten => _X.,1,DeadAGI(a2billing.php|1|did) exten => _X.,2,Hangup [a2billing-voucher] exten => _X.,1,DeadAGI(a2billing.php|1|voucher) ;exten => _X.,1,AGI(a2billing.php|1|voucher|1) ; will add 44 in front of the callerID for the CID authentication exten => _X.,n,Hangup [a2billing-sip] exten => _X.,1,DeadAGI(a2billing.php|2) exten => _X.,n,Hangup |
Author: | bucasia [ Mon May 13, 2013 8:39 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
For setting up the trunk (to pass the call from FreePBX to A2Billing) this should help - viewtopic.php?p=15787 A little bit of dial plan, plus a custom trunk in FreePBX. |
Author: | nyt1972 [ Tue May 14, 2013 6:31 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
thanks dear, tried every thing but still getting the below error: [2013-05-14 08:22:19] NOTICE[12489] chan_sip.c: Registration from '<sip:[email protected]>' failed for '195.211.48.5:20900' - Wrong password my sip settings are below: Code: Global Settings: ---------------- UDP Bindaddress: 0.0.0.0:5060 TCP SIP Bindaddress: Disabled TLS SIP Bindaddress: Disabled Videosupport: No Textsupport: No Ignore SDP sess. ver.: No AutoCreate Peer: Off Match Auth Username: No Allow unknown access: No Allow subscriptions: Yes Allow overlap dialing: Yes Allow promisc. redir: No Enable call counters: No SIP domain support: No Realm. auth: No Our auth realm asterisk Use domains as realms: No Call to non-local dom.: Yes URI user is phone no: No Always auth rejects: Yes Direct RTP setup: No User Agent: FPBX-2.11.0rc1(11.3.0) SDP Session Name: Asterisk PBX 11.3.0 SDP Owner Name: root Reg. context: (not set) Regexten on Qualify: No Trust RPID: No Send RPID: No Legacy userfield parse: No Send Diversion: Yes Caller ID: Unknown From: Domain: Record SIP history: Off Call Events: On Auth. Failure Events: Off T.38 support: No T.38 EC mode: Unknown T.38 MaxDtgrm: -1 SIP realtime: Disabled Qualify Freq : 60000 ms Q.850 Reason header: No Store SIP_CAUSE: No Network QoS Settings: --------------------------- IP ToS SIP: CS3 IP ToS RTP audio: EF IP ToS RTP video: AF41 IP ToS RTP text: CS0 802.1p CoS SIP: 4 802.1p CoS RTP audio: 5 802.1p CoS RTP video: 6 802.1p CoS RTP text: 5 Jitterbuffer enabled: No Network Settings: --------------------------- SIP address remapping: Enabled using externaddr Externhost: <none> Externaddr: x.x.x.x:0 Externrefresh: 10 Localnet: x.x.x.0/255.255.255.0 Global Signalling Settings: --------------------------- Codecs: (gsm|ulaw|alaw) Codec Order: ulaw:20,alaw:20,gsm:20 Relax DTMF: No RFC2833 Compensation: No Symmetric RTP: Yes Compact SIP headers: No RTP Keepalive: 0 (Disabled) RTP Timeout: 30 RTP Hold Timeout: 300 MWI NOTIFY mime type: application/simple-message-summary DNS SRV lookup: No Pedantic SIP support: Yes Reg. min duration 60 secs Reg. max duration: 3600 secs Reg. default duration: 120 secs Sub. min duration 60 secs Sub. max duration: 3600 secs Outbound reg. timeout: 20 secs Outbound reg. attempts: 0 Notify ringing state: Yes Include CID: No Notify hold state: Yes SIP Transfer mode: open Max Call Bitrate: 384 kbps Auto-Framing: No Outb. proxy: <not set> Session Timers: Accept Session Refresher: uas Session Expires: 1800 secs Session Min-SE: 90 secs Timer T1: 500 Timer T1 minimum: 100 Timer B: 32000 No premature media: Yes Max forwards: 70 Default Settings: ----------------- Allowed transports: UDP Outbound transport: UDP Context: from-sip-external Record on feature: automon Record off feature: automon Force rport: Yes DTMF: rfc2833 Qualify: 0 Keepalive: 0 Use ClientCode: No Progress inband: Never Language: Tone zone: <Not set> MOH Interpret: default MOH Suggest: Voice Mail Extension: *97 sip_addtional.conf is below: Code: [92]
deny=0.0.0.0/0.0.0.0 secret=pakistan007 dtmfmode=auto canreinvite=no context=from-internal host=dynamic trustrpid=yes sendrpid=no type=friend nat=yes port=5060 qualify=yes qualifyfreq=60 transport=udp encryption=no callgroup= pickupgroup= dial=SIP/92 mailbox=92@device permit=0.0.0.0/0.0.0.0 callerid=92 <92> callcounter=yes faxdetect=no cc_monitor_policy=generic [gosiptrafficusd] secret=alishba007 type=user context=from-trunk [SIPTRAFFIC] host=77.72.169.128 username=gosiptrafficusd secret=alishba007 type=peer context=from-trunk-sip-SIPTRAFFIC |
Author: | bucasia [ Tue May 14, 2013 11:25 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
If that's your real SIP credentials you posted I'd change them immediately. I can't really help more as I don't understand your setup. |
Author: | nyt1972 [ Wed May 15, 2013 5:35 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
ok thanks a lot I am waiting. |
Author: | nyt1972 [ Fri May 17, 2013 6:22 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
Author: | nyt1972 [ Mon May 20, 2013 5:40 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
Hello friends, Please someone help me. |
Author: | nyt1972 [ Wed May 22, 2013 6:56 am ] |
Post subject: | Re: a2billing sip registration show wrong password. |
Sorry to say, but can any one tell me what is this forum for? No one asking me about any thing, neither helping me. Even none of the post I saw here solved. What I think is that professionals want to ask them abt paid help. |
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |