[asterisk-bugs] [JIRA] (ASTERISK-27003) chan_sip doesn't send CONNECTEDLINE info over sip trunk
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Wed May 17 09:18:57 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237010#comment-237010 ]
Richard Mudgett commented on ASTERISK-27003:
--------------------------------------------
IIRC you need to set the CONNECTEDLINE(num) to 6000 as I don't think party information gets sent without a number because of how SIP operates. For the most part you cannot have a name without a number also being set.
{noformat}
same = n,Set(CONNECTEDLINE(num,i)=6000)
{noformat}
or you could set both at the same time
{noformat}
same = n,Set(CONNECTEDLINE(all,i)="Conf 6000" <6000>)
{noformat}
> chan_sip doesn't send CONNECTEDLINE info over sip trunk
> -------------------------------------------------------
>
> Key: ASTERISK-27003
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27003
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 13.13.1
> Environment: Centos 6 x86-64
> Reporter: Dmitry Melekhov
> Severity: Minor
> Attachments: myDebugLog-asterisk, myDebugLog-ast-lud
>
>
> I need to translate CONNECTEDLINE info from one asterisk to another and then to ISDN.
> Here is how asterisks are connected in my test environment:
> {noformat}
> asterisk(192.168.22.19)---IP link--ast-lud(192.168.72.254)--ISDN PRI----PBX.
> {noformat}
> As PBX user I place call to ast-lud to following dial-plan
> {noformat}
> exten => 5085,1,Dial(SIP/6000 at asterisk)
> ;exten => 5085,1,Dial(OOH323/6000)
> exten => 5085,n,Hangup
> {noformat}
> asterisk on ast-lud:
> {noformat}
> [asterisk]
> type=friend
> host=192.168.22.19
> insecure=port,invite
> nat=no
> canreinvite=yes
> disallow=all
> ;allow=all
> allow=alaw
> allow=ulaw
> ;allow=g729
> dtmfmode=rfc2833
> context=asterisk
> trustrpid = yes
> sendrpid = yes
> {noformat}
> on asterisk:
> {noformat}
> [ast-lud]
> type=friend
> host=192.168.72.254
> insecure=port,invite
> nat=no
> canreinvite=yes
> disallow=all
> ;allow=all
> allow=alaw
> allow=ulaw
> ;allow=g729
> dtmfmode=rfc2833
> context=h323
> trustrpid = yes
> sendrpid = yes
> {noformat}
> And then dialplan is:
> {noformat}
> exten => 6000,1,Set(CHANNEL(language)=ru)
> exten => 6000,n,Set(CONNECTEDLINE(name,i)=Conf. 6000)
> exten => 6000,n,Set(CONNECTEDLINE(pres)=allowed)
> exten => 6000,n,Answer
> exten => 6000,n,Meetme(6000,TL(10800000:60000))
> exten => 6000,n,Hangup
> {noformat}
> But, as I can see from debug CONNECTEDLINE info is not even sent by asterisk-
> I'll upload debug logs.
> If I use ooh323 to connect asterisks, then I see Conf. 6000 on my phone..
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list