Hello;
Thanks a lot for your kindly reply.Actually the alaw is enabled at asterisk but
what I got to know from the other side that they only enabled ulaw. Below is my
asterisk sip configuration for the sip trunk. Please advise.
[user_name]type=peerhost=Provider_IP_Addressport=5083context=trunkinbounddisallow=allallow
= ulaw,alaw,gsmcall-limit = 256 insecure = port,invitetrunkstyle =
providertransport = udp dtmfmode = rfc2833remoteregister = yescbcallerid =
22021782qualify = yessrtpcapable = no
RegardsBilal
On Wednesday, January 20, 2016 2:50 PM, A J Stiles
<[email protected]> wrote:
On Wednesday 20 Jan 2016, bilal ghayyad wrote:
> Hello List;
> I am facing a trouble with a sip trunk on asterisk 1.4 and asterisk 1.8 and
> I am getting the following debug, can someone advise me about the
> solution: <--- SIP read from Provider_IP_Address:5083 --->INVITE
> ..... [stuff deleted] .....
> [Jan 18 10:52:37] VERBOSE[2421] logger.c: [Jan 18 10:52:37]<---
> Reliably Transmitting (no NAT) to Provider_IP_Address:5083 --->SIP/2.0 488
> Not acceptable here Via: SIP/2.0/UDP
> Provider_IP_Address:5083;branch=z9hG4bKn1va9h109091cms8h5a0.1;received=Pro
> vider_IP_Address From: "1828444" <sip:[email protected]>;tag=rrZpHF51Z7a6D To:
> <sip:22021782@Asterisk_IP_Address:5060>;tag=as5d16dbaf Call-ID:
> 6bba7f72-3874-1234-0b95-0090fb3d96e0-UASession-CX9lUh8LWc-UASession-kOSBFq
> loi5 CSeq: 1 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL,
> OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported:
> replaces Content-Length: 0 <------------>
"488 Not acceptable here" usually means that negotiation failed for want of
any mutually-supported codec. Make sure that you have "alaw", which is the
native format used by the PSTN in civilised countries (and therefore, there
is little need to use anything else unless you know you will never want PSTN
connectivity), enabled at your end.
Can you run this command and post the output? (It should all be on one line,
but my mail client or yours may have eaten it)
$ awk '/[[]|allow/&&!/^[ \t]*;/{printf "%6d:%s\n",NR, $0}'
/etc/asterisk/sip.conf
This will look for [section headers] in square brackets and lines containing
"allow" (which also will catch "disallow") that are not commented out, in your
SIP configuration, and print them out with line numbers.
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users